@import './commot.less';


#search {
 box-sizing: border-box;
 width: 100%;
 height: 50px;
 // display: block;
 background-color: #fff;
 padding: 10px;

 form {
  display: flex;

  input[type="search"] {
   flex: 1;
   text-indent: 10px;
   border-radius: 15px;
   background-color: #eee;
  }

  input[type="submit"] {
   width: 64px;
   height: 30px;
   border-radius: 15px;
   margin-left: 10px;
  }
 }

}

.main {
 margin-top: 10px;
 // background-color: #999;

}

.main_nav {
 background-color: #fff;
 padding: 6px;

 .nav_list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;

  >li {
   margin-bottom: 10px;
   width: 25%;
   // height: 100px;
   text-align: center;

   // transition: all 5s;
   >a {
    display: block;

    >img {
     width: 50%;
    }

    >p {
     margin-top: 5px;
     font-size: 13px;
    }
   }
  }
 }
}

.main_recommen {
 background-color: #fff;

 .recommen-title {
  background-color: #ff9000;
  width: 100%;
  height: 35px;
  margin: 10px 0;

  >h5 {
   float: left;
   padding-left: 20px;
   line-height: 35px;
   font-size: 15px;
   font-weight: bold;
  }

  >img {
   float: right;
   width: 20px;
   margin-top: 6px;
   margin-right: 10px;
  }
 }

 .recommen-list {
  .media {
   box-sizing: border-box;
   width: 100%;
   padding: 10px;
   border-bottom: 1px solid #ccc;
   display: flex;

   >a {
    width: 100px;

    img {
     width: 100%;
    }
   }

   >.media-body {
    margin-left: 5px;
    width: 100%;
    flex: 1;

    >a {
     display: block;
     width: 100%;

     >div {
      font-size: 17px;
      margin: 10px 0;
     }

     .price {
      font-size: 20px;
      color: red;
      margin-bottom: 10px;
     }

     .form {
      color: #ccc;
     }

     .comment {
      float: right;
     }
    }
   }

  }
 }

 .recommen-more {
  padding: 10px;
  text-align: center;
  // background-color: #eee;

  font-size: 20px;

  >a {
   display: block;
   height: 35px;
   line-height: 35px;
   border: 1px solid #666;
   border-radius: 8px;
  }
 }
}